package com.sz.admin.vehicleschedule.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;
import java.time.LocalTime;
import cn.idev.excel.annotation.ExcelIgnore;
import cn.idev.excel.annotation.ExcelProperty;
import com.sz.excel.annotation.DictFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * VehicleSchedule返回vo
 * </p>
 *
 * @author sz-admin
 * @since 2025-08-30
 */
@Data
@Schema(description = "VehicleSchedule返回vo")
public class VehicleScheduleVO {

    @ExcelIgnore
    @Schema(description =  "id")
    private Long id;

    @ExcelProperty(value = "排班计划名称")
    @Schema(description =  "排班计划名称")
    private String title;

    @ExcelProperty(value = "排序")
    @Schema(description =  "排序")
    private Integer sort;

    @ExcelProperty(value = "上班时间")
    @Schema(description =  "上班时间")
    private LocalTime startTime;

    @ExcelProperty(value = "下班时间")
    @Schema(description =  "下班时间")
    private LocalTime endTime;

    @ExcelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description =  "创建时间")
    private LocalDateTime createTime;

    @ExcelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description =  "更新时间")
    private LocalDateTime updateTime;

    @ExcelProperty(value = "创建人ID")
    @DictFormat(dictType = "dynamic_user_options")
    @Schema(description =  "创建人ID")
    private Long createId;

    @ExcelProperty(value = "更新人ID")
    @DictFormat(dictType = "dynamic_user_options")
    @Schema(description =  "更新人ID")
    private Long updateId;

    @ExcelProperty(value = "排班时间")
    @Schema(description =  "排班时间")
    private LocalTime time1;

    @ExcelProperty(value = "排班时间")
    @Schema(description =  "排班时间")
    private LocalTime time2;

    @ExcelProperty(value = "排班时间")
    @Schema(description =  "排班时间")
    private LocalTime time3;

    @ExcelProperty(value = "排班类型")
    @DictFormat(dictType = "schedule_type")
    @Schema(description =  "排班类型")
    private String scheduleType;

}